package com.xiaoshuidi.cloud.module.contract.controller.app.contract.vo;

import com.xiaoshuidi.cloud.module.contract.controller.admin.bill.vo.orderFees.OrderFeesVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.util.List;


@Data
public class AppRentOrderCreateReq {

    /**
     * 房间id
     */
    @Schema(description = "房间id")
    @NotNull(message = "房间id不能为空")
    private Long roomId;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    @NotNull(message = "开始时间不能为空")
    private LocalDate startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    @NotNull(message = "结束时间不能为空")
    private LocalDate endTime;

    /**
     * 收款时间
     */
    @Schema(description = "收款时间")
    @NotNull(message = "收款时间 不能为空")
    private LocalDate oughtPayTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 费项集合
     */
    @Schema(description = "费项")
    private List<OrderFeesVo> orderFeesVo;

    /**
     * 账单类型
     */
    private String orderType;
}
